<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7663847336159940494</id><updated>2024-12-19T08:50:09.904+05:30</updated><category term="Logic"/><category term="Easy"/><category term="Microsoft"/><category term="Tough"/><category term="Medium"/><category term="Google"/><category term="Amazon"/><category term="Number series"/><category term="Infosys"/><category term="Maths"/><category term="Probability"/><category term="Interview"/><category term="Tips"/><category term="Tricks"/><category term="2012"/><category term="Accenture"/><category term="Bloomberg LP"/><category term="Adobe"/><category term="Time"/><category term="Geometry"/><category term="Goldman sachs"/><category term="kalido"/><category term="Oracle"/><category term="Critical thinking"/><category term="HR interview"/><category term="Ittiam"/><category term="Program"/><category term="Yahoo"/><category term="Bank of America"/><category term="Binary"/><category term="Epic system"/><category term="Flipcart"/><category term="Morgan stanley"/><category term="Triangle"/><category term="Unsolved"/><category term="Chess"/><category term="Citrix system"/><category term="Dice"/><category term="Distance"/><category term="Facebook"/><category term="Permutation and combination"/><category term="Qualcomm"/><category term="Safenet"/><title type='text'>Brain Teaser Puzzles</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>102</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-5878094700713058184</id><published>2012-11-12T21:44:00.000+05:30</published><updated>2013-01-01T19:05:20.425+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Critical thinking"/><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><title type='text'>Polar bear puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtq2Qb50ePzvJaHudREf1UQzftvj0eHfQifhvfppzyy9jsoRTS8PPzcJZmCYi5dxssAwhI4BVy1hzcvANs_c1zfIZreoER9E09jXjS3ncyaq8I6iInbsBfr2WCSB3Qdk1cXFFKHRGnBhs/s1600/14-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtq2Qb50ePzvJaHudREf1UQzftvj0eHfQifhvfppzyy9jsoRTS8PPzcJZmCYi5dxssAwhI4BVy1hzcvANs_c1zfIZreoER9E09jXjS3ncyaq8I6iInbsBfr2WCSB3Qdk1cXFFKHRGnBhs/s320/14-1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #b45f06; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #b45f06; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Puzzle:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;There is a house with four walls. Each wall faces south. There is a window in each wall.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;A bear walks by one of the windows. What colour is the bear?&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #b45f06; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;White. If all the walls face south, the house is at the north pole, and the bear, therefore, is a polar bear.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/5878094700713058184/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/polar-bear-puzzle.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5878094700713058184'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5878094700713058184'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/polar-bear-puzzle.html' title='Polar bear puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtq2Qb50ePzvJaHudREf1UQzftvj0eHfQifhvfppzyy9jsoRTS8PPzcJZmCYi5dxssAwhI4BVy1hzcvANs_c1zfIZreoER9E09jXjS3ncyaq8I6iInbsBfr2WCSB3Qdk1cXFFKHRGnBhs/s72-c/14-1.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2638816312379538103</id><published>2012-11-12T21:43:00.000+05:30</published><updated>2013-01-01T19:05:11.437+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bloomberg LP"/><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="kalido"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Time"/><title type='text'>Solution of Bridge crossing Riddle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif6VsPFmMel_k_STLtDdmL2rfR9X0ac5q1ALe0A8TPW54Bm9Lh6S_JqX6B6nCM-bAtDGpj1tDMiIR4KPRAsTj3eC1OCCUsVAN3WjQTdGsCvbsr8_DBNNDEgt3KgZR_73q98wQmDY-LyHY/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif6VsPFmMel_k_STLtDdmL2rfR9X0ac5q1ALe0A8TPW54Bm9Lh6S_JqX6B6nCM-bAtDGpj1tDMiIR4KPRAsTj3eC1OCCUsVAN3WjQTdGsCvbsr8_DBNNDEgt3KgZR_73q98wQmDY-LyHY/s400/13.jpg&quot; width=&quot;260&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;-&amp;gt; 1. + 2. - 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;&amp;lt;- 1.      - 1 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;-&amp;gt; 3. + 4. - 9 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;&amp;lt;- 2.      - 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;-&amp;gt; 1. + 2. - 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;Total - 16 min&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px; white-space: pre-wrap;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;note:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.449999809265137px; white-space: pre-wrap;&quot;&gt;-&amp;gt; forward direction&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.449999809265137px; white-space: pre-wrap;&quot;&gt;&amp;lt;- Reverse direction&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;color: #cc0000; font-family: Verdana, sans-serif; font-size: 14px; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2638816312379538103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-bridge-crossing-riddle.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2638816312379538103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2638816312379538103'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-bridge-crossing-riddle.html' title='Solution of Bridge crossing Riddle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif6VsPFmMel_k_STLtDdmL2rfR9X0ac5q1ALe0A8TPW54Bm9Lh6S_JqX6B6nCM-bAtDGpj1tDMiIR4KPRAsTj3eC1OCCUsVAN3WjQTdGsCvbsr8_DBNNDEgt3KgZR_73q98wQmDY-LyHY/s72-c/13.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-5303371472949227361</id><published>2012-11-12T21:41:00.000+05:30</published><updated>2013-01-01T19:04:59.451+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bloomberg LP"/><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="kalido"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Time"/><title type='text'>Bridge crossing Riddle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cWe70UV9_7rQCqY2VRfn78aKC3Lgh2ByaEWNpqmQfle0PLk5c4wuw3KLPK_rV0JuKfx1nPjMcULoo7aXDQbrm_4W6NiowNU4FlZAnKyNvaUl-FxSxrWs_dlYlEFKV6MK5fNJEBpr1qs/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cWe70UV9_7rQCqY2VRfn78aKC3Lgh2ByaEWNpqmQfle0PLk5c4wuw3KLPK_rV0JuKfx1nPjMcULoo7aXDQbrm_4W6NiowNU4FlZAnKyNvaUl-FxSxrWs_dlYlEFKV6MK5fNJEBpr1qs/s400/13.jpg&quot; width=&quot;260&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;There are four people at the end of bridge. They take following time to cross the bridge:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;1st: 1 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;2nd: 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;3rd: 7 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;4th: 9 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;Condition:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;1. They have only one torch and they can&#39;t cross bridge without torch.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 15.454545021057129px;&quot;&gt;2. and only 2 person can cross bridge at a time.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;a href=&quot;http://allaboutpuzzles.blogspot.in/2012/11/solution-of-bridge-crossing-riddle.html&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b style=&quot;color: #cc0000; font-family: Verdana, sans-serif; font-size: 14px; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/5303371472949227361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/bridge-crossing-riddle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5303371472949227361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5303371472949227361'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/bridge-crossing-riddle.html' title='Bridge crossing Riddle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cWe70UV9_7rQCqY2VRfn78aKC3Lgh2ByaEWNpqmQfle0PLk5c4wuw3KLPK_rV0JuKfx1nPjMcULoo7aXDQbrm_4W6NiowNU4FlZAnKyNvaUl-FxSxrWs_dlYlEFKV6MK5fNJEBpr1qs/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2790408768791768961</id><published>2012-11-12T21:36:00.000+05:30</published><updated>2013-01-01T19:04:45.790+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="kalido"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Time"/><title type='text'>Solution of Burn the rope....good puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYu7j3fTrsIb0pj6mM73R7SEZMMr8XX0xv_DbwoG_vo9Gzb0mmlOIzuvS7pIb2eGk0GQFHVFVUjLTDkiH00LpMKaK_s8bParD_8XeuOrscn3FW-zhmgCnywZhQmKUtmf6Ec9pW1pg9ZEE/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYu7j3fTrsIb0pj6mM73R7SEZMMr8XX0xv_DbwoG_vo9Gzb0mmlOIzuvS7pIb2eGk0GQFHVFVUjLTDkiH00LpMKaK_s8bParD_8XeuOrscn3FW-zhmgCnywZhQmKUtmf6Ec9pW1pg9ZEE/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;Take 2 ropes R1, R2. Light R1 at both ends and R2 at one end. When R1 is completely burned (30 minutes have passed), light R2 at the other end. When R2 is completely burned 45 minutes have passed.&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: 14px; line-height: 25px;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2790408768791768961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-burn-ropegood-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2790408768791768961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2790408768791768961'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-burn-ropegood-puzzle.html' title='Solution of Burn the rope....good puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYu7j3fTrsIb0pj6mM73R7SEZMMr8XX0xv_DbwoG_vo9Gzb0mmlOIzuvS7pIb2eGk0GQFHVFVUjLTDkiH00LpMKaK_s8bParD_8XeuOrscn3FW-zhmgCnywZhQmKUtmf6Ec9pW1pg9ZEE/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-3953628013716055350</id><published>2012-11-12T21:34:00.000+05:30</published><updated>2013-01-01T19:04:34.900+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="kalido"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Time"/><title type='text'>Burn the rope....good puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilekFp0TvkZ-LfMJ4eV9k_bC4BlvT5VrM8kXRQn2MiHs8wte_J3bEwHFeBhvbQmsa50ZcaYHkPtD530uTiEddoJ3WBtdMS3XUuVZayBahc2kxWQWExsX1e7Y6H8p7kjb3Y2RzrCcvvvec/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilekFp0TvkZ-LfMJ4eV9k_bC4BlvT5VrM8kXRQn2MiHs8wte_J3bEwHFeBhvbQmsa50ZcaYHkPtD530uTiEddoJ3WBtdMS3XUuVZayBahc2kxWQWExsX1e7Y6H8p7kjb3Y2RzrCcvvvec/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;there are unlimited ropes of same length and if we burn them it will take 1 hour.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 15.454545021057129px;&quot;&gt;How to measure 45 mins?&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;u&gt;&lt;a href=&quot;http://allaboutpuzzles.blogspot.in/2012/11/solution-of-burn-ropegood-puzzle.html&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: 14px; line-height: 25px;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/3953628013716055350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/burn-ropegood-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/3953628013716055350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/3953628013716055350'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/burn-ropegood-puzzle.html' title='Burn the rope....good puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilekFp0TvkZ-LfMJ4eV9k_bC4BlvT5VrM8kXRQn2MiHs8wte_J3bEwHFeBhvbQmsa50ZcaYHkPtD530uTiEddoJ3WBtdMS3XUuVZayBahc2kxWQWExsX1e7Y6H8p7kjb3Y2RzrCcvvvec/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-4508277337541134371</id><published>2012-11-12T21:31:00.000+05:30</published><updated>2013-01-01T19:04:24.387+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>Solution of 100 door puzzle....microsoft interview puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxBYiUcUjGcQVI79hoX3uKB_smcVmDyz8ZxxekyP92OhrlZGrVvSlWyfSn3nkXtxWDiHV1QKRzj1ZDMgWiBQ5PCSV7_UoM_uE1JUNBG5Cy30uh2qaNf1jzNdU2OyaC15gusona5NTMvE/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxBYiUcUjGcQVI79hoX3uKB_smcVmDyz8ZxxekyP92OhrlZGrVvSlWyfSn3nkXtxWDiHV1QKRzj1ZDMgWiBQ5PCSV7_UoM_uE1JUNBG5Cy30uh2qaNf1jzNdU2OyaC15gusona5NTMvE/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;This problem is designed to seem overwhelming. You don’t have time to draw a diagram of 100 lockers and count 100 passes through them. Even if you did, solving the problem that way wouldn’t illustrate any skill or intuition, so there must be some trick that can be used to determine how many doors will be open. You just have to figure out what that trick is.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;It’s unlikely that you’re going to be able to intuit the solution to this problem by just staring at it. What can you do? Although it’s not practical to solve the entire problem by brute force, solving a few lockers in this manner is reasonable. Perhaps you’ll notice some patterns you can apply to the larger problem.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;Start by choosing an arbitrary locker, 12, and determining whether it will end open or closed. On which passes will you toggle locker 12? Obviously on the first pass, when you toggle every locker, and on the twelfth pass when you start with 12. You don’t need to consider any pass after 12 because those will all start farther down the hall. This leaves passes 2 through 11. You can count these out: 2, 4, 6, 8, 10, 12 (you toggle on pass 2); 3, 6, 9, 12 (on 3); 4, 8, 12 (on 4); 5, 10, 15 (not on 5); 6, 12 (on 6); 7, 14 (not on 7), and so on. Somewhere in the middle of this process, you will probably notice that you toggle locker 12 only when the number of the pass you’re on is a factor of 12. If you think about this, it makes sense: When counting by n, you hit 12 only when some integer number of n’s add to 12, which is another way of saying that n is a factor of 12. Though it seems simple in retrospect, this probably wasn’t obvious before you worked out an example.&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;The factors of 12 are 1, 2, 3, 4, 6, and 12. Correspondingly, the operations on the locker door are open, close, open, close, open, close. So locker 12 will end closed. The solution seems to have something to do with factors. Primes are numbers with unique factor properties. Perhaps it would be instructive to investigate a prime numbered locker. You might select 17 as a representative prime. The factors are 1 and 17, so the operations are open, close. It ends closed just like 12. Apparently primes are not necessarily different from nonprimes for the purposes of this problem.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;What generalizations can you make about whether a locker ends open or closed? All lockers start closed and alternate between being open and closed. So lockers are closed after the second, fourth, sixth, and so on, times they are toggled - in other words, if a locker is toggled an even number of times, then it ends closed; otherwise, it ends open. You know that a locker is toggled once for every factor of the locker number, so you can say that a locker ends open only if it has an odd number of factors.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;The task has now been reduced to finding how many numbers between 1 and 100 have an odd number of factors. The two you’ve examined (and most others, if you try a few more examples) have even numbers of factors. Why is that? If a number i is a factor of n, what does that mean? It means that i times some other number j is equal to n. Of course, because multiplication is commutative (i × j = j × i), that means that j is a factor of n, too, so the number of factors is usually even because factors tend to come in pairs. If you can find the numbers that have unpaired factors, you will know which lockers will be open. Multiplication is a binary operation, so two numbers will always be involved, but what if they are both the same number (that is, i = j)? In that case, a single number would effectively form both halves of the pair and there would be an odd number of factors. When this is the case, i × i = n. Therefore, n would have to be a perfect square. Try a perfect square to check this solution. For example, for 16, the factors are 1, 2, 4, 8, 16; operations are open, close, open, close, open - as expected, it ends open.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Based on this reasoning, you can conclude that only lockers with numbers that are perfect squares end open. The perfect squares between 1 and 100 (inclusive) are 1, 4, 9, 16, 25, 36, 49, 64, 81, and 100. So 10 lockers would remain open.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Similarly, for the general case of k lockers, the number of open lockers is the number of perfect squares between 1 and k, inclusive. How can you best count these? The perfect squares themselves are inconvenient to count because they’re unevenly spaced. However, the square roots of the perfect squares greater than zero are the positive integers. These are very easy to count: The last number in the list of square roots gives the number of items in each list. For example, the square roots of 1, 4, 9, 16, and 25 are 1, 2, 3, 4, and 5; the last number in the list of square roots is the square root of the largest perfect square and is equal to the number of perfect squares. You need to find the square root of the largest perfect square less than or equal to k.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;This task is trivial when k is a perfect square, but most of the time it won’t be. In these cases, the square root of k will be a noninteger. If you round this square root down to the nearest integer, then its square is the largest perfect square less than k-just what you were looking for. The operation of rounding to the largest integer less than or equal to a given number is often called floor. Thus, in the general case of k lockers, there will be floor(sqrt(k)) lockers remaining open.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;The key to solving this problem is trying strategies to solve parts of the problem even when it isn’t clear how these parts will contribute to the overall solution. Although some attempts, such as the investigation of prime numbered lockers, may not be fruitful, others are likely to lead to greater insight about how to attack the problem, such as the strategy of calculating the result for a single locker. Even in the worst case, where none of the things you try lead you closer to the final solution, you show the interviewer that you aren’t intimidated by difficult problems with no clear solution and that you are willing to keep trying different approaches until you find one that works.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/4508277337541134371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-100-door-puzzlemicrosoft.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4508277337541134371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4508277337541134371'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-100-door-puzzlemicrosoft.html' title='Solution of 100 door puzzle....microsoft interview puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioxBYiUcUjGcQVI79hoX3uKB_smcVmDyz8ZxxekyP92OhrlZGrVvSlWyfSn3nkXtxWDiHV1QKRzj1ZDMgWiBQ5PCSV7_UoM_uE1JUNBG5Cy30uh2qaNf1jzNdU2OyaC15gusona5NTMvE/s72-c/13.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-1684518973150523147</id><published>2012-11-12T21:27:00.000+05:30</published><updated>2013-01-01T19:04:11.832+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>Solution of 2 Egg Problem: Google Interview Puzzle </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKX8QXImsQOWcDSgV16uEMExF_ezCiXJeFOfcd61G2P0Vke9wO6aNSw8jheYoJUyyyOxg1ZD1i300iv9l_NIzD7TgMgSKAqt2-kVbcRDxp9HdRBBj3-5hWuU0azf8i6QxtL_VP57FWocw/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKX8QXImsQOWcDSgV16uEMExF_ezCiXJeFOfcd61G2P0Vke9wO6aNSw8jheYoJUyyyOxg1ZD1i300iv9l_NIzD7TgMgSKAqt2-kVbcRDxp9HdRBBj3-5hWuU0azf8i6QxtL_VP57FWocw/s320/13.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Drop the first egg from 50.If it breaks you can try the same approach for a 50-storey building (1 to 49) and try it from 25th floor. If it did not break try at 75th floor. And use linear search with the remaining portion of storey we need to test. For example if the first egg breaks at 50 we need to try all possibilities from 1 to 49.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px; text-indent: 10px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;Now this looks a feasible solution. In computer student&#39;s jargon do a binary search with first egg and linear search with the second one. Best case is log (100) and worst is 50.&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 22px; text-indent: 10px;&quot;&gt;Now the optimal solution for the problem is that you figure out that you will eventually end up with a linear search because you have no way of deciding the highest floor with only one egg (If you broke one egg and you have to find the answer among 10 all you can do is start from the lowest to the highest and the worst is the total number of floors). So the whole question grinds up to how to make use of the first egg to reduce the linear testing of the egg.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;(For strict computer science students, well this problem can be solved using binary search on the number of drops needed to find the highest floor.)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Now let x be the answer we want, the number of drops required.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;So if the first egg breaks maximum we can have x-1 drops and so we must always put the first egg from height x. So we have determined that for a given x we must drop the first ball from x height. And now if the first drop of the first egg doesn’t breaks we can have x-2 drops for the second egg if the first egg breaks in the second drop.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Taking an example, lets say 16 is my answer. That I need 16 drops to find out the answer. Lets see whether we can find out the height in 16 drops. First we drop from height 16,and if it breaks we try all floors from 1 to 15.If the egg don’t break then we have left 15 drops, so we will drop it from 16+15+1 =32nd floor. The reason being if it breaks at 32nd floor we can try all the floors from 17 to 31 in 14 drops (total of 16 drops). Now if it did not break then we have left 13 drops. and we can figure out whether we can find out whether we can figure out the floor in 16 drops.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Lets take the case with 16 as the answer&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 15 16 if breaks at 16 checks from 1 to 15 in 15 drops&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 14 31 if breaks at 31 checks from 17 to 30 in 14 drops&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 13 45 .....&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 12 58&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 11 70&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 10 81&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 9 91&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;1 + 8 100 We can easily do in the end as we have enough drops to accomplish the task&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Now finding out the optimal one we can see that we could have done it in either 15 or 14 drops only but how can we find the optimal one. From the above table we can see that the optimal one will be needing 0 linear trials in the last step.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;So we could write it as&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;(1+p) + (1+(p-1))+ (1+(p-2)) + .........+ (1+0) &amp;gt;= 100.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Let 1+p=q which is the answer we are looking for&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;q (q+1)/2 &amp;gt;=100&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br style=&quot;line-height: 22px; text-indent: 10px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Solving for 100 you get q=14.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;So the answer is: 14&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 22px; text-indent: 10px;&quot;&gt;Drop first orb from floors 14, 27, 39, 50, 60, 69, 77, 84, 90, 95, 99, 100... (i.e. move up 14 then 13, then 12 floors, etc) until it breaks (or doesn&#39;t at 100).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13px; line-height: 22px; text-indent: 10px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/1684518973150523147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-2-egg-problem-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/1684518973150523147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/1684518973150523147'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-2-egg-problem-google.html' title='Solution of 2 Egg Problem: Google Interview Puzzle '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKX8QXImsQOWcDSgV16uEMExF_ezCiXJeFOfcd61G2P0Vke9wO6aNSw8jheYoJUyyyOxg1ZD1i300iv9l_NIzD7TgMgSKAqt2-kVbcRDxp9HdRBBj3-5hWuU0azf8i6QxtL_VP57FWocw/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-9055212104948599747</id><published>2012-11-12T21:21:00.000+05:30</published><updated>2013-01-01T19:04:01.752+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Medium"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><title type='text'>Solution of Village of demons &amp;amp; sleeping man puzzle....tricky puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlKZQqLbQf6BXBjbzYtMmGnR9IhTPawmLIyBBd7Ftau__nnO1VADFzW2SEFjgl117R9SX99zP4q2QcB8lH1pzD5ZtpzeTjxB9hFp32HUhSuXRb59Nkmx1sHf54FbgGjLTS1_btl946gA/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlKZQqLbQf6BXBjbzYtMmGnR9IhTPawmLIyBBd7Ftau__nnO1VADFzW2SEFjgl117R9SX99zP4q2QcB8lH1pzD5ZtpzeTjxB9hFp32HUhSuXRb59Nkmx1sHf54FbgGjLTS1_btl946gA/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;1 demon 1 human&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;demon eat human.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;2 demon 1 human&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;nothing happens.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;3 demon 1 human&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;one demon eat the human.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Explanation:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;if there are odd number of eaters and one sleeping target, one of the eater(demon) will eat the target(sleeping demon/man).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;if eaters are even(&amp;gt;=2) nothing will happen because if he eat the target he will become the target,Now eaters will be odd and according to first case target will be eaten, so nobody of demons want to become target so nobody eat.&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;So 65+1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;one demon eats the sleeping man.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;nothing happens after that.&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;author&quot; style=&quot;background-color: white; border: 0px; color: #666666; font-family: sans-serif; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/9055212104948599747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-village-of-demons-sleeping.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/9055212104948599747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/9055212104948599747'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/solution-of-village-of-demons-sleeping.html' title='Solution of Village of demons &amp;amp; sleeping man puzzle....tricky puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTlKZQqLbQf6BXBjbzYtMmGnR9IhTPawmLIyBBd7Ftau__nnO1VADFzW2SEFjgl117R9SX99zP4q2QcB8lH1pzD5ZtpzeTjxB9hFp32HUhSuXRb59Nkmx1sHf54FbgGjLTS1_btl946gA/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-680105022612849327</id><published>2012-11-12T21:17:00.000+05:30</published><updated>2013-01-01T19:03:47.218+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Medium"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><title type='text'>Village of demons &amp;amp; sleeping man puzzle....tricky puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJl1BndO9f1L0hb_eYoCeFDQh0t8F_e2-WGCV4kU-XJnlvXf_iUUXaHE-YvAnOkXGe4-72UfPTfQFnZaB7R_lc0_VxqppU7V8QYAt3tAGhXLt7v6MB__KwXy1gf7x0exI4GC3q1yjMI4/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJl1BndO9f1L0hb_eYoCeFDQh0t8F_e2-WGCV4kU-XJnlvXf_iUUXaHE-YvAnOkXGe4-72UfPTfQFnZaB7R_lc0_VxqppU7V8QYAt3tAGhXLt7v6MB__KwXy1gf7x0exI4GC3q1yjMI4/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;given a village with demons and a sleeping man, The man is always sleeping ,never wakes up. Now a demon can eat the sleeping man , but after that&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;he will fall asleep , any demon can eat another sleeping demon.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;If demons are very smart and would always choose to stay alive than to eat the man and risk their lives.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;so if initially there are 65 demons and 1 sleeping man .. what would happen in the village ??&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Solution:&lt;/b&gt;&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;&lt;span style=&quot;color: #783f04;&quot;&gt;&lt;a href=&quot;http://allaboutpuzzles.blogspot.in/2012/11/solution-of-village-of-demons-sleeping.html&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/680105022612849327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/village-of-demons-sleeping-man.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/680105022612849327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/680105022612849327'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/village-of-demons-sleeping-man.html' title='Village of demons &amp;amp; sleeping man puzzle....tricky puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJl1BndO9f1L0hb_eYoCeFDQh0t8F_e2-WGCV4kU-XJnlvXf_iUUXaHE-YvAnOkXGe4-72UfPTfQFnZaB7R_lc0_VxqppU7V8QYAt3tAGhXLt7v6MB__KwXy1gf7x0exI4GC3q1yjMI4/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2242765322601964645</id><published>2012-11-12T21:07:00.000+05:30</published><updated>2013-01-01T19:03:10.099+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bloomberg LP"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>Find bad apples from boxes in 1 attempt...!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;There are 10 boxes of apples. Each apple in the boxes weights 1 pound, except that one of the boxes contains bad apples, which weights 0.9 pound each. You are given a digital weight (not a scale), and you can take apples out of the boxes. what is the minimum time of weighs to find out which box has bad apples?&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXHP4KXdJTw-POmSZNL0ArahltUZ2LftFq_H26XnxaKp4ubOumo_Z0_Wp-ANlt-LL8peUxmf6WDi8F_jsJNmFTF1EmqjorQUeP7pdp7nyR59vkN3cCelZ0cAk1VLPtk1in7JLeaInw3c/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXHP4KXdJTw-POmSZNL0ArahltUZ2LftFq_H26XnxaKp4ubOumo_Z0_Wp-ANlt-LL8peUxmf6WDi8F_jsJNmFTF1EmqjorQUeP7pdp7nyR59vkN3cCelZ0cAk1VLPtk1in7JLeaInw3c/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;it&#39;s simple:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;take 1 apple from box 1, 2 apples from box 2 ... 10 apples from box 10&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;put all on scale, say it shows XX.Y pounds&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;look at Y (fractional part).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;if it&#39;s 0, it&#39;s box 10&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1 - box 9&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2 - box 8&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;9 - box 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: black; font-family: sans-serif; line-height: normal; text-align: center;&quot;&gt;
&lt;span style=&quot;color: #cc0000; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: sans-serif; line-height: normal;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2242765322601964645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-bad-apples-from-boxes-in-1-attempt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2242765322601964645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2242765322601964645'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-bad-apples-from-boxes-in-1-attempt.html' title='Find bad apples from boxes in 1 attempt...!!!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHXHP4KXdJTw-POmSZNL0ArahltUZ2LftFq_H26XnxaKp4ubOumo_Z0_Wp-ANlt-LL8peUxmf6WDi8F_jsJNmFTF1EmqjorQUeP7pdp7nyR59vkN3cCelZ0cAk1VLPtk1in7JLeaInw3c/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-498531259076052784</id><published>2012-11-12T20:57:00.000+05:30</published><updated>2013-01-01T19:02:52.640+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Permutation and combination"/><title type='text'>Move block in matrix</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Question:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;Given a m*n matrix and a person is sitting in (0,0) box, and he has to go to the (m-1,n-1) box of the matrix .And the person can only go to right or down box from its current box position . We need to find out the number of ways he can reach from start to destination box .&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;He needs to take total &#39;m-1 down&#39; + &#39;n-1 right&#39; steps&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Its classical Permutation and Combination problem.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Refer to theorem 3 on this page intmath.com/counting-probability/3-permutations.php&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Hence ans = (m+n-2)! / ((m-1)!*(n-1)!)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #333333; font-family: sans-serif; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/498531259076052784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/move-block-in-matrix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/498531259076052784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/498531259076052784'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/move-block-in-matrix.html' title='Move block in matrix'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2375621274497623936</id><published>2012-11-12T20:56:00.000+05:30</published><updated>2013-01-01T19:02:40.061+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Probability"/><title type='text'>100 prisoner`s hat problem..</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF2_5fkkvSw_QosYB4Vw06ZYQmu2BCv4fxTgFs1QcKxtG_czmSYwd9LlmcPwLmakeiO4V1_OeillprKZcKAzZ8wCLy4AtJGENHG6eVbiYTifDMmnL_QX7V_r6FXmnhgDlAii2tIA91Khs/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;422&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF2_5fkkvSw_QosYB4Vw06ZYQmu2BCv4fxTgFs1QcKxtG_czmSYwd9LlmcPwLmakeiO4V1_OeillprKZcKAzZ8wCLy4AtJGENHG6eVbiYTifDMmnL_QX7V_r6FXmnhgDlAii2tIA91Khs/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;There are 100 prisoners , and a officer of them . Now the officer gave the command to the prisoner that next day they will be going to wear a hat which they will not be know its colour . But its colour will be either Red or Blue . And he says that all the prisoner will be standing in a line . &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 15.454545021057129px;&quot;&gt;And then the officer will start asking the color of the prisoner one by one from the back . whichever prisoner says the wrong color of his hat ,gets shoot .So now we have to find out wat strategy should the prisoners should apply to safe maximum prisoners .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 15.454545021057129px;&quot;&gt;The one in the back will just say which color occurs even number of times. Than all th rest can figure out what his color is. The one in the back will die with %50 probability rest will survive for sure.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2375621274497623936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/100-prisoners-hat-problem.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2375621274497623936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2375621274497623936'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/100-prisoners-hat-problem.html' title='100 prisoner`s hat problem..'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF2_5fkkvSw_QosYB4Vw06ZYQmu2BCv4fxTgFs1QcKxtG_czmSYwd9LlmcPwLmakeiO4V1_OeillprKZcKAzZ8wCLy4AtJGENHG6eVbiYTifDMmnL_QX7V_r6FXmnhgDlAii2tIA91Khs/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2300026580163027345</id><published>2012-11-12T20:54:00.000+05:30</published><updated>2013-01-01T19:02:30.382+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>Google letter/number series puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOSaMmNC6YPGi8oIFfJgdpVbAul-lzT1N8poqdJygWMtYES5e3jBx0JgIxnzX6auO91Prr7sosjPwF6Mw9RM5SyZHnGccQ2A8hXxTVfygZQL68s0G76sUinOgWF7UJZzBXgQWbJ2H-0Pw/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;224&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOSaMmNC6YPGi8oIFfJgdpVbAul-lzT1N8poqdJygWMtYES5e3jBx0JgIxnzX6auO91Prr7sosjPwF6Mw9RM5SyZHnGccQ2A8hXxTVfygZQL68s0G76sUinOgWF7UJZzBXgQWbJ2H-0Pw/s400/13.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Puzzle:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border: 0px; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Fill&amp;nbsp;in the blanks:&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;border: 0px; font: inherit; line-height: 15.454545021057129px; padding: 15px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;--   --  --  H  I   K  L   M   N  T
     --   --  --  G  J  O  P  Q   R  S&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;hint:&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;Characters in the top row are written with straight lines, whereas those in the bottom row are written with curved lines.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;font-family: sans-serif; font-size: 15px; line-height: 15.449999809265137px;&quot;&gt;1) T&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;his pattern perfectly fits with the first 6 characters.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;A E F&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;B C D&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: sans-serif; font-size: 12.727272033691406px; line-height: 13.63636302947998px;&quot;&gt;2)&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: sans-serif; line-height: 15.454545021057129px;&quot;&gt;b c f&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border: 0px; font-family: sans-serif; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;a d e&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;line-height: 15.454545021057129px;&quot;&gt;One way of looking at this is by taking the numbers equivalent to these alphabets. if we replace the existing series of alphabets with the numbers equivalent to these alphabets, then we&#39;ll see something like this&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: sans-serif; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;8 9 11 12 13 14 20&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;7 10 15 16 17 18 19&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: sans-serif; font: inherit; line-height: 15.454545021057129px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;there are multiple ways of looking at it, I found that given a number, the double of the number never comes in the same line, and used this logic to crack the first 6 positions. There might be other ways of looking at it.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2300026580163027345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/google-letternumber-series-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2300026580163027345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2300026580163027345'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/google-letternumber-series-puzzle.html' title='Google letter/number series puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOSaMmNC6YPGi8oIFfJgdpVbAul-lzT1N8poqdJygWMtYES5e3jBx0JgIxnzX6auO91Prr7sosjPwF6Mw9RM5SyZHnGccQ2A8hXxTVfygZQL68s0G76sUinOgWF7UJZzBXgQWbJ2H-0Pw/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-524190220176921550</id><published>2012-11-12T20:52:00.000+05:30</published><updated>2013-01-01T19:01:30.379+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Medium"/><category scheme="http://www.blogger.com/atom/ns#" term="Probability"/><category scheme="http://www.blogger.com/atom/ns#" term="Program"/><title type='text'>find random number between 1-7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_b5NpMACXbQuTtOy9KGofVmqDhChPKgxzjEjEMxLp4OQSw8_PREnUnPjoi09esZYs0RlheKo1eUF80JtAV0NHQtDTOQWcHcBYNASIxR891WpZASVmd1fNcfI9pH_P90Sx_TWRw_fwT4/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;620&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_b5NpMACXbQuTtOy9KGofVmqDhChPKgxzjEjEMxLp4OQSw8_PREnUnPjoi09esZYs0RlheKo1eUF80JtAV0NHQtDTOQWcHcBYNASIxR891WpZASVmd1fNcfI9pH_P90Sx_TWRw_fwT4/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;Given a random number generator say r(5) generates number between 1-5 uniformly at random , use it to in r(7) which should generate a random number between 1-7 uniformly at random.&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: white; border: 0px; font: inherit; line-height: 15.454545021057129px; padding: 15px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;int rand7() //random number from 1 - 7
{
    int r = 0;
    do
    {
       int a = rand(5) - 1; //uniformly at random from 0 to 4
       int b = rand(5) - 1;  //uniformly at random from 0 to 4
       r = 5*b + a;  //uniformly at random from 0 to 24
    }
    while (r &amp;gt;= 21); // in this event, we have to roll again
   //postcondition of loop: we have a number uniformly at random between 0 and 20&lt;/span&gt;&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;return r % 7 + 1; &lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;//there are 3 numbers in [0, 20] for each possible return value&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;//so each has equal probability.      &lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;} &lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;
&lt;/span&gt;




&lt;div style=&quot;color: #333333; text-align: center;&quot;&gt;



&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px; white-space: normal;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;color: #333333; font-family: monospace, sans-serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/524190220176921550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-random-number-between-1-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/524190220176921550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/524190220176921550'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-random-number-between-1-7.html' title='find random number between 1-7'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7_b5NpMACXbQuTtOy9KGofVmqDhChPKgxzjEjEMxLp4OQSw8_PREnUnPjoi09esZYs0RlheKo1eUF80JtAV0NHQtDTOQWcHcBYNASIxR891WpZASVmd1fNcfI9pH_P90Sx_TWRw_fwT4/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-4013779601548269754</id><published>2012-11-12T20:47:00.000+05:30</published><updated>2013-01-01T19:01:18.518+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Accenture"/><category scheme="http://www.blogger.com/atom/ns#" term="Infosys"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Medium"/><title type='text'>17 min bridge crossing puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6V-4ByQgtakQ0GJx1gqBhHvg7FwzQ_MJr86c20Ms79lgqH6pDgOcuB_gLaS4QYvPm4CG9HQKKdrGRKy6ukYQRoxEuW_BUbY9YJIv0OZgNslTFnlXnTv3awxIgd6oVP0g2ffAOswdp_gE/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6V-4ByQgtakQ0GJx1gqBhHvg7FwzQ_MJr86c20Ms79lgqH6pDgOcuB_gLaS4QYvPm4CG9HQKKdrGRKy6ukYQRoxEuW_BUbY9YJIv0OZgNslTFnlXnTv3awxIgd6oVP0g2ffAOswdp_gE/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Puzzle:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;There are four people who want to cross a bridge; they all begin on the same side. You have 17 minutes to get them all across to the other side. It is night, and they have one flashlight. A maximum of two people can cross the bridge at one time. Any party that crosses, either one or two people, must have the flashlight with them. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 15.454545021057129px;&quot;&gt;The flashlight must be walked back and forth; it cannot be thrown, for example. Person 1 takes 1 minute to cross the bridge, person 2 takes 2 minutes, person 3 takes 5 minutes, and person 4 takes 10 minutes. A pair must walk together at the rate of the slower person’s pace. For example, if person 1 and person 4 walk across first, 10 minutes have elapsed when they get to the other side of the bridge. If person 4 returns the flashlight, a total of 20 minutes have passed and you have failed the mission.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt; &lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;1+2 : 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;1 back : 1 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;3+4 : 10 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;2 back : 2 min&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 15.454545021057129px;&quot;&gt;1+2: 2 min&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 14.545454025268555px; line-height: 15.454545021057129px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/4013779601548269754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/17-min-bridge-crossing-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4013779601548269754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4013779601548269754'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/17-min-bridge-crossing-puzzle.html' title='17 min bridge crossing puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6V-4ByQgtakQ0GJx1gqBhHvg7FwzQ_MJr86c20Ms79lgqH6pDgOcuB_gLaS4QYvPm4CG9HQKKdrGRKy6ukYQRoxEuW_BUbY9YJIv0OZgNslTFnlXnTv3awxIgd6oVP0g2ffAOswdp_gE/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2877733505948014691</id><published>2012-11-12T20:42:00.000+05:30</published><updated>2013-01-01T19:01:02.788+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="HR interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Tricks"/><title type='text'>What are your weaknesses? (HR interview)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJK-FAHLaN8Fz5s-wFgpYVUdQSK04fTkYCzrIbDd0b-s4MuR_qoN4S6ZWEBhyphenhyphen_xYBTDCd2TNbbLQgDXXsTFZ9Y0kvEvtbBekSMqH4MjMURIGtzOLoGCY7_neWOtrMULKP5MNpxlC3TOxk/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;428&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJK-FAHLaN8Fz5s-wFgpYVUdQSK04fTkYCzrIbDd0b-s4MuR_qoN4S6ZWEBhyphenhyphen_xYBTDCd2TNbbLQgDXXsTFZ9Y0kvEvtbBekSMqH4MjMURIGtzOLoGCY7_neWOtrMULKP5MNpxlC3TOxk/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #990000; font-size: large;&quot;&gt;&lt;b&gt;TRAPS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #990000; font-size: large;&quot;&gt;&lt;b&gt;:&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Beware - this is an eliminator question, designed to shorten the candidate list. Any admission of a weakness or fault will earn you an “A” for honesty, but an “F” for the interview.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #990000; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;PASSABLE ANSWER:&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Disguise a strength as a weakness.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;Example&lt;/u&gt;:&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;i&gt; “I sometimes push my people too hard.&amp;nbsp; I like to work with a sense of urgency and everyone is not always on the same wavelength.”&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;Drawback:&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; &lt;i&gt;This strategy is better than admitting a flaw, but it&#39;s so widely used, it is transparent to any experienced interviewer. &lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
  &lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;BEST ANSWER&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;(and another reason it&#39;s so important to get a thorough description of your interviewer&#39;s needs &lt;i&gt;before&lt;/i&gt; you answer questions):&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Assure the interviewer that you can think of nothing that would stand in the way of your performing in this position with excellence. Then, quickly review you strongest qualifications. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;Example:&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; “Nobody&#39;s perfect, but based on what you&#39;ve told me about this position, I believe I&#39; d make an outstanding match. I know that when I hire people, I look for two things most of all. Do they have the &lt;i&gt;qualifications&lt;/i&gt; to do the job well, and the &lt;i&gt;motivation&lt;/i&gt; to do it well?&amp;nbsp; Everything in my background shows I have both the qualifications and a strong desire to achieve excellence in whatever I take on. So I can say in all honesty that I see nothing that would cause you even a small concern about my ability or my strong desire to perform this job with excellence.”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #b45f06; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;Alternate strategy&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;(if you don&#39;t yet know enough about the position to talk about such a perfect fit): &lt;br /&gt;Instead of confessing a weakness, describe what you &lt;i&gt;like most&lt;/i&gt; and &lt;i&gt;like least&lt;/i&gt;, making sure that what you like most matches up with the most important qualification for success in the position, and what you like least is not essential. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;Example:&lt;/u&gt;&lt;/span&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;Let&#39;s say you&#39;re applying for a teaching position. “If given a choice, I like to spend as much time as possible in front of my prospects selling, as opposed to shuffling paperwork back at the office.&amp;nbsp; Of course, I long ago learned the importance of filing paperwork properly, and I do it conscientiously. But what I really love to do is sell (if your interviewer were a sales manager, this should be music to his ears.)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2877733505948014691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/what-are-your-weaknesses-hr-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2877733505948014691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2877733505948014691'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/what-are-your-weaknesses-hr-interview.html' title='What are your weaknesses? (HR interview)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJK-FAHLaN8Fz5s-wFgpYVUdQSK04fTkYCzrIbDd0b-s4MuR_qoN4S6ZWEBhyphenhyphen_xYBTDCd2TNbbLQgDXXsTFZ9Y0kvEvtbBekSMqH4MjMURIGtzOLoGCY7_neWOtrMULKP5MNpxlC3TOxk/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-3103214266857735343</id><published>2012-11-12T20:39:00.000+05:30</published><updated>2013-01-01T19:00:46.283+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="HR interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Tricks"/><title type='text'>What are your greatest strengths? (HR interview)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwHcXSgwql2kCon5DBbdVifSoVSlvSVPYzz1vgfHvWjHOiEW3uHuXZzoTBb5f_xuy2JwCJwbfhbJzD6Jd7G1CyPUPKdl7VDEEZm1r_5Hwx9k8Uoq7tLnnrxvf3FVKMC-N1JTe0y16GLWQ/s1600/13.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwHcXSgwql2kCon5DBbdVifSoVSlvSVPYzz1vgfHvWjHOiEW3uHuXZzoTBb5f_xuy2JwCJwbfhbJzD6Jd7G1CyPUPKdl7VDEEZm1r_5Hwx9k8Uoq7tLnnrxvf3FVKMC-N1JTe0y16GLWQ/s640/13.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-size: large;&quot;&gt;TRAPS:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; This question seems like a softball lob, but be prepared. You don&#39;t want to come across as egotistical or arrogant. Neither is this a time to be humble. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #b45f06; font-size: large;&quot;&gt;&lt;b&gt;BEST ANSWER:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; You know that your key strategy is to first uncover your interviewer&#39;s greatest wants and needs before you answer questions. And from Question 1, you know how to do this. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Prior to any interview, you should have a list mentally prepared of your greatest strengths. You should also have, a specific example or two, which illustrates each strength, an example chosen from your most recent and most impressive achievements.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You should, have this list of your greatest strengths and corresponding examples from your achievements so well committed to memory that you can recite them cold after being shaken awake at 2:30AM. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Then, once you uncover your interviewer&#39;s greatest wants and needs, you can choose those achievements from your list that best match up. &lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;As a general guideline, the 10 most desirable traits that all employers love to see in their employees are:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;A proven track record as an achiever...&lt;i&gt;especially if your achievements match up &amp;nbsp; &amp;nbsp;with the employer&#39;s greatest wants and needs.&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Intelligence...management &quot;savvy&quot;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Honesty...integrity...a decent human being. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Good fit with corporate culture...someone to feel comfortable with...a team player who meshes well with interviewer&#39;s team.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Likeability...positive attitude...sense of humor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Good communication skills.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Dedication...willingness to walk the extra mile to achieve excellence.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Definiteness of purpose...clear goals.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 54.0pt; mso-list: l0 level1 lfo1; tab-stops: list 54.0pt; text-indent: -36.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Enthusiasm...high level of motivation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;10. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Confident...healthy...a leader.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/3103214266857735343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/what-are-your-greatest-strengths-hr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/3103214266857735343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/3103214266857735343'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/what-are-your-greatest-strengths-hr.html' title='What are your greatest strengths? (HR interview)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwHcXSgwql2kCon5DBbdVifSoVSlvSVPYzz1vgfHvWjHOiEW3uHuXZzoTBb5f_xuy2JwCJwbfhbJzD6Jd7G1CyPUPKdl7VDEEZm1r_5Hwx9k8Uoq7tLnnrxvf3FVKMC-N1JTe0y16GLWQ/s72-c/13.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-5473418275750623489</id><published>2012-11-12T19:46:00.000+05:30</published><updated>2013-01-01T19:00:34.455+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="HR interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview"/><category scheme="http://www.blogger.com/atom/ns#" term="Tips"/><category scheme="http://www.blogger.com/atom/ns#" term="Tricks"/><title type='text'>Tell me about yourself (HR interview)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi665SkR62UXTluijUxynQi37cUMFrxB0kD3L7JCcF5LzLGu3vbvu-GaED-b6Eaj-GOm_0Hcoq4JP4CLpei4pMfOF-a09HjCXL-yd3Z4-69p9W8bv8Q2i_Q-Cm2ufpgwa5r0OVX9brkkKg/s1600/13+card.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;358&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi665SkR62UXTluijUxynQi37cUMFrxB0kD3L7JCcF5LzLGu3vbvu-GaED-b6Eaj-GOm_0Hcoq4JP4CLpei4pMfOF-a09HjCXL-yd3Z4-69p9W8bv8Q2i_Q-Cm2ufpgwa5r0OVX9brkkKg/s640/13+card.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #990000; font-size: large;&quot;&gt;TRAPS&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000; font-size: large;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;/b&gt; Beware, about 80% of all interviews begin with this “innocent” question. Many candidates, unprepared for the question, skewer themselves by rambling, recapping their life story, delving into ancient work history or personal matters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #b45f06; font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot;&gt;BEST ANSWER:&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;mso-pagination: widow-orphan lines-together; page-break-after: avoid;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Start with the present and tell why you are well qualified for the position. Remember that the key to all successful interviewing is to match your qualifications to what the interviewer is looking for. In other words &lt;i&gt;you must sell what the buyer is buying. This is the single most important strategy in job hunting.&lt;/i&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;So, before you answer this or &lt;i style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;any&lt;/i&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt; question it&#39;s imperative that you try to uncover your interviewer&#39;s greatest need, want, problem or goal.&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;To do so, make you take these two steps:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;Do all the homework you can before the interview to uncover &lt;i&gt;this person&#39;s&lt;/i&gt; wants and needs (not the generalized needs of the industry or company)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 36.0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;!--[endif]--&gt;&lt;span lang=&quot;EN-US&quot;&gt;As early as you can in the interview, ask for a more complete description of what the position entails.&amp;nbsp; You might say: “I have a number of accomplishments I&#39;d like to tell you about, but I want to make the best use of our time together and talk directly to your needs. To help me do, that, could you tell me more about the most important priorities of this position?&amp;nbsp; All I know is what I (heard from the recruiter, read in the classified ad, etc.)”&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;Then, &lt;i&gt;ALWAYS follow-up with a second and possibly, third question&lt;/i&gt;, to draw out his needs even more. Surprisingly, it&#39;s usually this &lt;i&gt;second&lt;/i&gt; or &lt;i&gt;third&lt;/i&gt; question that unearths what the interviewer is &lt;i&gt;most&lt;/i&gt; looking for. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;You might ask simply, &quot;And in addition to that?...&quot; or, &quot;Is there anything else you see as essential to success in this position?: &lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This process will not feel easy or natural at first, because it is easier simply to answer questions, but only if you uncover the employer&#39;s wants and needs will your answers make the most sense. Practice asking these key questions before giving your answers, the process will feel more natural &lt;i&gt;and you will be light years ahead of the other job candidates you&#39;re competing with&lt;/i&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;After uncovering what the employer is looking for, describe why the needs of this job bear striking parallels to tasks you&#39;ve succeeded at before. Be sure to illustrate with specific examples of your responsibilities and especially your achievements, all of which are geared to present yourself as a perfect match for the needs he has just described.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/5473418275750623489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/tell-me-about-yourself-hr-interview.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5473418275750623489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/5473418275750623489'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/tell-me-about-yourself-hr-interview.html' title='Tell me about yourself (HR interview)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi665SkR62UXTluijUxynQi37cUMFrxB0kD3L7JCcF5LzLGu3vbvu-GaED-b6Eaj-GOm_0Hcoq4JP4CLpei4pMfOF-a09HjCXL-yd3Z4-69p9W8bv8Q2i_Q-Cm2ufpgwa5r0OVX9brkkKg/s72-c/13+card.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2990919821097204997</id><published>2012-11-12T19:41:00.000+05:30</published><updated>2013-01-01T19:00:18.720+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Accenture"/><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="Infosys"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><title type='text'>9 card puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi70NOFjRwERnqnOTvNHy5cz-A9VhUQN37rm8ScIgkwFIciCsSmOwO26Z2cJ42NOT_xJ-J6LljH9XWjPqEeWuPeYPtOrF8Ck0TfU4aKhfZdp0AaO221LYO-e4ATQf-aH-kCbnlLKDK7VHM/s1600/9loyS71351085364.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi70NOFjRwERnqnOTvNHy5cz-A9VhUQN37rm8ScIgkwFIciCsSmOwO26Z2cJ42NOT_xJ-J6LljH9XWjPqEeWuPeYPtOrF8Ck0TfU4aKhfZdp0AaO221LYO-e4ATQf-aH-kCbnlLKDK7VHM/s640/9loyS71351085364.jpg&quot; width=&quot;474&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;9 cards are there. u have to arrange them in a 3*3 matrix.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cards are of 4 colors.they are red,yellow,blue,green.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;conditions for arrangement: one red card must be in first row&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;or second row.2 green cards should be in 3rd column.Yellow&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cards must be in the 3 corners only. Two blue cards must be in&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;the 2nd row. Atleast one green card in each row.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;b style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: x-large;&quot;&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Yellow &amp;nbsp;Red &amp;nbsp; &amp;nbsp;Green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Blue &amp;nbsp; &amp;nbsp; Blue &amp;nbsp; Green&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Yellow &amp;nbsp;Green Yellow&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2990919821097204997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/9-card-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2990919821097204997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2990919821097204997'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/9-card-puzzle.html' title='9 card puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi70NOFjRwERnqnOTvNHy5cz-A9VhUQN37rm8ScIgkwFIciCsSmOwO26Z2cJ42NOT_xJ-J6LljH9XWjPqEeWuPeYPtOrF8Ck0TfU4aKhfZdp0AaO221LYO-e4ATQf-aH-kCbnlLKDK7VHM/s72-c/9loyS71351085364.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2199494795565327274</id><published>2012-11-12T19:38:00.000+05:30</published><updated>2013-01-01T19:00:07.459+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="Number series"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>100 door puzzle....microsoft interview puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHNxadiA1eoaJRPy45me7T2LN4aReWEz_24-VO4d1o9UKNohueA7l3rsDZc4qXY7S85Bk5yR8BbIUrTePtyqrPO1RlzewW9GkhdnrMA_bz2tuw6X44yxc6UfYUkN8NDcytNX4UtYXtbQY/s1600/balance-scale-redone.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHNxadiA1eoaJRPy45me7T2LN4aReWEz_24-VO4d1o9UKNohueA7l3rsDZc4qXY7S85Bk5yR8BbIUrTePtyqrPO1RlzewW9GkhdnrMA_bz2tuw6X44yxc6UfYUkN8NDcytNX4UtYXtbQY/s640/balance-scale-redone.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;Lets say you have a room with 100 doors in it. Initially, all of these doors are open. You have 100 people that will be entering the room. The 1st person toggles every door, 2nd person toggles every other door, 3rd toggles every 3rd door, ... , nth person toggles every nth door. How would you determine the state of all 100 doors after all 100 people have entered the room?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; line-height: 17px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://allaboutpuzzles.blogspot.in/2012/11/solution-of-100-door-puzzlemicrosoft.html&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: sans-serif; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;&lt;b&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2199494795565327274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/100-door-puzzlemicrosoft-interview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2199494795565327274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2199494795565327274'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/100-door-puzzlemicrosoft-interview.html' title='100 door puzzle....microsoft interview puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHNxadiA1eoaJRPy45me7T2LN4aReWEz_24-VO4d1o9UKNohueA7l3rsDZc4qXY7S85Bk5yR8BbIUrTePtyqrPO1RlzewW9GkhdnrMA_bz2tuw6X44yxc6UfYUkN8NDcytNX4UtYXtbQY/s72-c/balance-scale-redone.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-192614357530638992</id><published>2012-11-12T19:36:00.000+05:30</published><updated>2013-01-01T18:59:54.341+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Probability"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>1000 barrels Puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtdyxJeMxiTDNdsCqXx4hzPJUbtAXUa8lgI33NeHTG2vLNkPHpFosYiz8pBqvQeK8jNSJ078qvmOcxxbcm9MqcSsj_pqwwypEADzmRhVHJeIUGshwrstjeMVeBL9qqaX0sYIR43KlR8F0/s1600/9loyS71351085364.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtdyxJeMxiTDNdsCqXx4hzPJUbtAXUa8lgI33NeHTG2vLNkPHpFosYiz8pBqvQeK8jNSJ078qvmOcxxbcm9MqcSsj_pqwwypEADzmRhVHJeIUGshwrstjeMVeBL9qqaX0sYIR43KlR8F0/s1600/9loyS71351085364.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 17px;&quot;&gt;A king is about to give a party in 24 hours. For the party they have arranged drinks which will be served through 1000 barrels. Out of jealousy , some one near to king has poisoned one of the barrels. The poison is so strong that even a drop can kill a person. But results are not immediate. A person may die from 13 to 20 hrs. Now king has a duty of finding that barrel. He has 24 hours with him. And he has unlimited prisoners on which the drinks can be tested. Find out the maximum prisoners he would need to find out that barrel.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;1) let&#39;s say you are identifying 4 barrels - you need two prisoners - you can mix the wine (or whatever it is) in such a way that either first prisoner dies, second prisoner dies, both die or none die, identifying the right barrel.&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Let&#39;s say there are eight barrels. Let&#39;s number them 1 through 8. You need just three prisoners. First prisoner gets a mixture of 1, 2, 3, 4, second 3, 4, 5, 6 and third gets 1, 3, 5, 7. There are exactly eight combinations of the three prisoners dying or staying alive and with the above mixture each combination of the prisoner&#39;s deaths shows exactly which barrel was poisoned.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;With 16 barrels you would need 4 prisoners.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The point is that with N prisoners you can &#39;encode&#39; 2 to the N-th power barrels. With 1000 barrels you would need 10 prisoners.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2)&amp;nbsp;10 is the correct answer. consider the following&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;nC0 + nC1 +... +nCn= 2 power n&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;So upto 1024 barrels can be covered using upto 10 prisoners.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;Think it like this. 1 drop from each barrel to ten prisoners. Then 11th barrel will be for both 1st and 2nd prisoner. 12th for 3rd and 4th prisoner. If they both die then this 11th barrel was poisened one. Keep making such combinations for all the barrels and considering all these 10 prisoners.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/192614357530638992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/1000-barrels-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/192614357530638992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/192614357530638992'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/1000-barrels-puzzle.html' title='1000 barrels Puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtdyxJeMxiTDNdsCqXx4hzPJUbtAXUa8lgI33NeHTG2vLNkPHpFosYiz8pBqvQeK8jNSJ078qvmOcxxbcm9MqcSsj_pqwwypEADzmRhVHJeIUGshwrstjeMVeBL9qqaX0sYIR43KlR8F0/s72-c/9loyS71351085364.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-4401455365400808309</id><published>2012-11-12T19:33:00.000+05:30</published><updated>2013-01-01T18:59:44.870+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dice"/><category scheme="http://www.blogger.com/atom/ns#" term="Flipcart"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Medium"/><title type='text'>2 dice puzzle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCig_DpjPqtQOl3cyXiaTYkW_m26E7sRcHX2jopI0cvOXx3o96APNmkGf3sgHRFRDHWSTU4bICvLmTyQdKIdF4qqF62-DqgeQZOY8CZT03SJQzkCwbs9jHDg0Q4Kj0AiYIOpwLTsfe9GU/s1600/9loyS71351085364.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;420&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCig_DpjPqtQOl3cyXiaTYkW_m26E7sRcHX2jopI0cvOXx3o96APNmkGf3sgHRFRDHWSTU4bICvLmTyQdKIdF4qqF62-DqgeQZOY8CZT03SJQzkCwbs9jHDg0Q4Kj0AiYIOpwLTsfe9GU/s640/9loyS71351085364.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 17px;&quot;&gt;You are given 2 dice. Both are fair. One of the dice has no numbers printed on it. You have to label the unmarked dice such that when both the dice are thrown, the sum on the faces is evenly distributed between 1 and 12.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 17px;&quot;&gt;Three 0s and three 6s.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;background-color: #eeeeee; border: 0px; font: inherit; line-height: 15px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Well imagine case of 2 normal dice. The sums will be between 2-12 when you throw them. Also 2 will come less times ( 1 + 1) while 7 would come more times ( 4 + 3 , 3 + 4, 5 + 2, 2+5), therefore this is not even distribution.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; border: 0px; font: inherit; line-height: 15px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You have to make sure that the probability of each number between 1-12 is equal. Having 3 faces 0 and 3 faces 6 does that. Calculate by yourself&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/4401455365400808309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/2-dice-puzzle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4401455365400808309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/4401455365400808309'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/2-dice-puzzle.html' title='2 dice puzzle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCig_DpjPqtQOl3cyXiaTYkW_m26E7sRcHX2jopI0cvOXx3o96APNmkGf3sgHRFRDHWSTU4bICvLmTyQdKIdF4qqF62-DqgeQZOY8CZT03SJQzkCwbs9jHDg0Q4Kj0AiYIOpwLTsfe9GU/s72-c/9loyS71351085364.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-1441700066227642465</id><published>2012-11-12T19:28:00.000+05:30</published><updated>2013-01-01T18:59:33.488+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon"/><category scheme="http://www.blogger.com/atom/ns#" term="Binary"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>count the number of students in a classroom in quickest way</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9VW1n_PSbfbWzEd0Xk5Gdm197wSMZ-hK6RXphcDGcPycxX0py_JoOOTckc1qHZmQNAkInVx1Fh5vOpvaJ1uFVa7li-VOpQxoTFElvHm55f0LtmWeAgizckxUR9TimjiTnNJVCq7yGNIw/s1600/9loyS71351085364.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9VW1n_PSbfbWzEd0Xk5Gdm197wSMZ-hK6RXphcDGcPycxX0py_JoOOTckc1qHZmQNAkInVx1Fh5vOpvaJ1uFVa7li-VOpQxoTFElvHm55f0LtmWeAgizckxUR9TimjiTnNJVCq7yGNIw/s640/9loyS71351085364.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #f2f2f2; line-height: 17px;&quot;&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;How will you count the number of students in a classroom in quickest possible manner.&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 17px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: #f2f2f2; line-height: 17px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 17px;&quot;&gt;Ask the class to stand up and make pairs, if one student is left out write &#39;1&#39; else write 0. tell the left out student to sit down and ask one person in each group to sit down. Repeat the process and append &#39;1&#39; or &#39;0&#39; to your number, until no student is left standing. You will get the binary representation of the number of students in reverse order.&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: sans-serif; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
Eg: lets say there are 23 students in the class&lt;br /&gt;
Students standing 23 11 5 2 1 0&lt;br /&gt;
Solution 1 1 1 0 1 0&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: sans-serif; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
we have a string 111010, and the binary representation of 23 is 010111.&lt;br /&gt;
This is just using divide and conquer O(lg n)&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style=&quot;background-color: #f2f2f2; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/1441700066227642465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/count-number-of-students-in-classroom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/1441700066227642465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/1441700066227642465'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/count-number-of-students-in-classroom.html' title='count the number of students in a classroom in quickest way'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9VW1n_PSbfbWzEd0Xk5Gdm197wSMZ-hK6RXphcDGcPycxX0py_JoOOTckc1qHZmQNAkInVx1Fh5vOpvaJ1uFVa7li-VOpQxoTFElvHm55f0LtmWeAgizckxUR9TimjiTnNJVCq7yGNIw/s72-c/9loyS71351085364.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-2062140110242372773</id><published>2012-11-12T19:25:00.000+05:30</published><updated>2013-01-01T18:59:18.991+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Tough"/><title type='text'>Find shortest path in an array</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Question:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; color: #333333; line-height: 17px;&quot;&gt;Given a character array. Find if there exists a path from O to X. Here is an example&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #f2f2f2; border: 0px; color: #333333; font-family: sans-serif; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
. . . . . . .&lt;br /&gt;
. . . . . . .&lt;br /&gt;
w . . . . . .&lt;br /&gt;
w .w.w..&lt;br /&gt;
. . . . O . .&lt;br /&gt;
. . w. . . .&lt;br /&gt;
. . . X . . .&lt;/div&gt;
&lt;div style=&quot;background-color: #f2f2f2; border: 0px; color: #333333; font-family: sans-serif; font: inherit; line-height: 17px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=1425634290979628623&quot; name=&quot;more&quot;&gt;&lt;/a&gt;You have to just keep in mind that you cannot go through &#39;W&#39;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpE5FXxarl1MfqxXTzjWeS3MPOJW_P5DzgxR-gYlJUPX8QHHPZD6Mqye46eZiVpKTUMJXlr-kN8MmshpP1sh_k0bD8A-x6qmVavswJ8aKj7spZkCaiwo601bpgq0t1Za8PQWBKxrNYTv8/s1600/shortest_path_d_05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpE5FXxarl1MfqxXTzjWeS3MPOJW_P5DzgxR-gYlJUPX8QHHPZD6Mqye46eZiVpKTUMJXlr-kN8MmshpP1sh_k0bD8A-x6qmVavswJ8aKj7spZkCaiwo601bpgq0t1Za8PQWBKxrNYTv8/s320/shortest_path_d_05.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;Solution:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 17px;&quot;&gt;This can be solved by Simple Depth First Search using Recursion..&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; line-height: 17px; white-space: pre-wrap;&quot;&gt;// 8 Adjacent points&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-family: monospace, sans-serif; font: inherit; line-height: 17px; padding: 15px; vertical-align: baseline; white-space: pre-wrap; word-wrap: break-word;&quot;&gt;&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;

int dx[]={+0,+0,+1,-1,+1,+1,-1,-1};&lt;br /&gt;


int dy[]={+1,-1,+0,+0,+1,-1,+1,-1};&lt;/div&gt;
&lt;div style=&quot;border: 0px; font: inherit; margin-bottom: 20px; padding: 0px; vertical-align: baseline;&quot;&gt;

bool visited[50][50];&lt;br /&gt;


string grid[50];&lt;br /&gt;


int m=50,n=50;&lt;br /&gt;


bool dfs(int x,int y){&lt;br /&gt;


if(grid[x][y]==&#39;X&#39;)return 1;&lt;br /&gt;


&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
bool res=0;&lt;br /&gt;


visited[x][y]=1;&lt;br /&gt;


for(int i=0;i&amp;lt;8;i++){&lt;br /&gt;


int newx=x+dx[i];&lt;br /&gt;


int newy=y+dy[i];&lt;br /&gt;


// Check whether the new point is valid one ..&lt;br /&gt;


if(newx&amp;gt;=0 &amp;amp;&amp;amp; newy&amp;gt;=0 &amp;amp;&amp;amp; newx&amp;lt;m &amp;amp;&amp;amp; newy&amp;lt;n){&lt;br /&gt;


// Check whether it is visited already / it is not &#39;W&#39;&lt;br /&gt;


if(visited[newx][newy]==0 &amp;amp;&amp;amp; grid[x][y]!=&#39;W&#39;)&lt;br /&gt;


res|=(dfs(newx,newy));&lt;br /&gt;


}&lt;br /&gt;


}&lt;br /&gt;


return res;&lt;br /&gt;


}&lt;br /&gt;


bool solve(){&lt;br /&gt;


int startx=0,starty=0;&lt;br /&gt;


for(int i=0;i&amp;lt;m;i++){&lt;br /&gt;


for(int j=0;j&amp;lt;n;j++){&lt;br /&gt;


if(grid[i][j]==&#39;O&#39;){&lt;br /&gt;


startx=i,starty=j;&lt;br /&gt;


break;&lt;br /&gt;


}&lt;br /&gt;


}&lt;br /&gt;


}&lt;br /&gt;


return dfs(startx,starty);&lt;br /&gt;


}&lt;/div&gt;
&lt;/pre&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/2062140110242372773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-shortest-path-in-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2062140110242372773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/2062140110242372773'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/find-shortest-path-in-array.html' title='Find shortest path in an array'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpE5FXxarl1MfqxXTzjWeS3MPOJW_P5DzgxR-gYlJUPX8QHHPZD6Mqye46eZiVpKTUMJXlr-kN8MmshpP1sh_k0bD8A-x6qmVavswJ8aKj7spZkCaiwo601bpgq0t1Za8PQWBKxrNYTv8/s72-c/shortest_path_d_05.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7663847336159940494.post-6433411513930440183</id><published>2012-11-12T19:21:00.001+05:30</published><updated>2013-01-01T18:59:06.935+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Citrix system"/><category scheme="http://www.blogger.com/atom/ns#" term="Easy"/><category scheme="http://www.blogger.com/atom/ns#" term="Logic"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Obtain 4 litre from 5 &amp;amp; 3 litre jar</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZGJZGOI1V60lGaWRigD0h-ihv8eZV5XJG7QqyauCdm1jMbcFwatsiTv7mwfSzU_1-i7aACh8TUAqUgAn4aJLD1FdUPjqSr3rm3BEr1cQXGTiMgv7WHy5PZTDkhPc33DbviJ5f9Fv5NfM/s1600/balance-scale-redone.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;334&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZGJZGOI1V60lGaWRigD0h-ihv8eZV5XJG7QqyauCdm1jMbcFwatsiTv7mwfSzU_1-i7aACh8TUAqUgAn4aJLD1FdUPjqSr3rm3BEr1cQXGTiMgv7WHy5PZTDkhPc33DbviJ5f9Fv5NfM/s640/balance-scale-redone.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Question:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;There are 2 jars 5 lit and 3 lit capacity&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f2f2f2; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;measure 4 lit using them&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7663847336159940494&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b45f06; font-family: Verdana, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Solution:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;1)first fill 3L jar and empty it in 5L jar.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;again fill 3L and empty it in 5L jar.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;5L jar will be completely filled with 1L left in 3L jar.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;empty 5L jar and then empty 3L jar in 5L jar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;now refill 3L jar and empty it in 5L jar.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;now 5L jar will contain 4 L (3+1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2)&lt;span style=&quot;background-color: white; line-height: 17px;&quot;&gt;fill 5 ltr jar and pour it in 3 ltr, so 2 ltr remains in 5 ltr jar.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;Empty 3 ltr jar and pour 2 ltr from 5 ltr jar into it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 17px;&quot;&gt;&amp;nbsp; &amp;nbsp;Now fill 5 ltr jar again and use it to fill remaining 1 ltr in 3 ltr jar. that keeps 4 ltr in 5 ltr jar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: sans-serif; font-size: 14px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt; &lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #fafafa; color: #cc0000; font-family: Verdana, sans-serif; font-size: medium; line-height: 25px;&quot;&gt;POST YOUR OPINION IF YOU HAVE BETTER SOLUTION&lt;/span&gt; &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://allaboutpuzzles.blogspot.com/feeds/6433411513930440183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/obtain-4-litre-from-5-3-litre-jar.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/6433411513930440183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7663847336159940494/posts/default/6433411513930440183'/><link rel='alternate' type='text/html' href='http://allaboutpuzzles.blogspot.com/2012/11/obtain-4-litre-from-5-3-litre-jar.html' title='Obtain 4 litre from 5 &amp;amp; 3 litre jar'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13678484803105538985</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZGJZGOI1V60lGaWRigD0h-ihv8eZV5XJG7QqyauCdm1jMbcFwatsiTv7mwfSzU_1-i7aACh8TUAqUgAn4aJLD1FdUPjqSr3rm3BEr1cQXGTiMgv7WHy5PZTDkhPc33DbviJ5f9Fv5NfM/s72-c/balance-scale-redone.png" height="72" width="72"/><thr:total>1</thr:total></entry></feed>